package com.example.stock.excel;

import com.alibaba.excel.annotation.ExcelProperty;
import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
public class DailyDeSum {

    @ExcelProperty(index=0)
    private String date;

    public void setDate(String date) {
        this.date = date.substring(0, 10);
    }

    @ExcelProperty("stock")
    private String stock;

    @ExcelProperty("close")
    private Double close;

    @ExcelProperty("count")
    private int count;

    @ExcelProperty("de_sum")
    private Double deSum;

    @ExcelProperty("pct")
    private double pct;

    @ExcelProperty("next_pct")
    private double nextPct;

    @ExcelProperty("level_point")
    private Double lp;

    @ExcelProperty("gt30d")
    private Double gt30d;

    @ExcelProperty("gt60d")
    private Double gt60d;

    @ExcelProperty("category")
    private String category;
}